export interface CreateOrUpdateTableRequestData {
  id?: string
  departure?: string
  destination?: string
  stops: string[]
}

export interface TableRequestData {
  /** 当前页码 */
  currentPage: number
  /** 查询条数 */
  size: number
  /** 查询参数：起点 */
  departure?: string
  /** 查询参数：终点 */
  destination?: string
}

export interface TableData {
  id: string
  departure: string
  destination: string
  stops: string
  count: number
}

export type TableResponseData = ApiResponseData<{
  list: TableData[]
  total: number
}>
